#include <iostream>
#include <QJsonDocument>

#include "AnCallback.h"

void AnCallback::response(QJsonObject an_response)
{
	std::cout << "response: \n" << QJsonDocument(an_response).toJson().data() << std::endl;
}


void AnCallback::response_slot(QJsonObject an_response)
{
	this->response(an_response);
}
